Fix 92_proj8.patch
authorJochen Sprickerhof <jspricke@debian.org>
Tue, 12 Oct 2021 08:08:53 +0000 (10:08 +0200)
committerJochen Sprickerhof <jspricke@debian.org>
Tue, 12 Oct 2021 08:08:53 +0000 (10:08 +0200)
Gbp-Dch: ignore

debian/patches/92_proj8.patch

index 37b13554ff2fe25907a32b7c80851baad36b7f30..5f4f6bb0b73fdf8d297beefef636c368f66f6070 100644 (file)
@@ -45,10 +45,10 @@ index 7ff6526a5d3..0a0d06eba19 100644
 +#else
      this->Projection = pj_init_plus(this->PROJ4String);
 +#endif
-     if (!this->Projection)
-     {
-       vtkErrorMacro("Cannot set projection with string " << this->PROJ4String);
-@@ -234,8 +246,11 @@ int vtkGeoProjection::UpdateProjection()
+   }
+   else
+   {
+@@ -230,8 +242,11 @@ int vtkGeoProjection::UpdateProjection()
        stringHolder[i] = param.str();
        pjArgs[3 + i] = stringHolder[i].c_str();
      }